public class Poker {

	private int range;
	private String rank = "";

	public Poker(int in) {
		range = in;
	}

	@Override
	public boolean equals(Object pp) {
		Poker jj = (Poker) pp;
		if ((this.range == jj.range) && (this.rank.equals(jj.rank))) {
			return true;
		} else
			return false;
	}

	@Override
	public int hashCode() {
		return range >> 2;
	}

}
